package com.college.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 课表
 * </p>
 *
 * @author yoki
 * @since 2024-05-29
 */
@Getter
@Setter
@TableName("schedule_info")
@ApiModel(value = "ScheduleInfo对象", description = "课表")
public class ScheduleInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("学期的id")
    @TableField("calendarId")
    private Integer calendarId;

    @ApiModelProperty("时间戳")
    @TableField("time_stamp")
    private Date timeStamp;

    @ApiModelProperty("课程编号")
    @TableField("course_number")
    private String courseNumber;

    @ApiModelProperty("课程名称")
    @TableField("course_name")
    private String courseName;

    @ApiModelProperty("科任老师编号")
    @TableField("teacher_number")
    private String teacherNumber;

    @ApiModelProperty("班级编号")
    @TableField("class_number")
    private String classNumber;


}
